package com.example.leetcode.slidingwindow;

import com.example.leetcode.slidingwindow.common.SlidingWindowUtils;

class Solution159 {
    public int lengthOfLongestSubstringTwoDistinct(String s) {
        return SlidingWindowUtils.lengthOfLongestSubstringTwoDistinct(s);
    }
}

public class leetcode159 {
    public static void main(String[] args) {
        Solution159 solution159 = new Solution159();
//        System.out.println(solution159.lengthOfLongestSubstringTwoDistinct("eceba"));
//        System.out.println(solution159.lengthOfLongestSubstringTwoDistinct("ccaabbb"));
        System.out.println(solution159.lengthOfLongestSubstringTwoDistinct("abcabcabc"));
    }
}
